package com.epsoft.odin7cj.flow.model.task;

import java.io.Serializable;
import java.util.List;

import com.epsoft.odin7cj.flow.model.form.FlowForm;

/**  
  * 流程参数 
 * @author 胡义振  
 * @date 2018年10月11日  
*/
public class TaskInfo implements Serializable{

	private static final long serialVersionUID = 4585899703786511759L;
	
	// 任务ID
	private String taskId;
	// 实例ID
	private String instanceId;
	// 流程定义ID
	private String fdId;
	// 流程定义KEY
	private String fdKey;
	// 任务节点KEY
	private String taskDefinitionKey;
	// 流程定义名称
	private String fdName;
	// 任务名称
	private String taskName;
	// 任务描述
	private String taskDescription;
	// 拥有人
	private String taskOwner;
    // 开始时间
	private String startTime;
    // 结束时间
	private String endTime;
	// 
	private FlowForm flowForm;
	//
	private List<FlowForm> flowFormList;

	public String getTaskId() {
		return taskId;
	}
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}
	public String getTaskName() {
		return taskName;
	}
	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}
	public String getTaskDescription() {
		return taskDescription;
	}
	public void setTaskDescription(String taskDescription) {
		this.taskDescription = taskDescription;
	}
	public String getTaskOwner() {
		return taskOwner;
	}
	public void setTaskOwner(String taskOwner) {
		this.taskOwner = taskOwner;
	}
	public String getInstanceId() {
		return instanceId;
	}
	public void setInstanceId(String instanceId) {
		this.instanceId = instanceId;
	}
	public String getFdId() {
		return fdId;
	}
	public void setFdId(String fdId) {
		this.fdId = fdId;
	}
	public String getFdKey() {
		return fdKey;
	}
	public void setFdKey(String fdKey) {
		this.fdKey = fdKey;
	}
	public String getFdName() {
		return fdName;
	}
	public void setFdName(String fdName) {
		this.fdName = fdName;
	}
	
	public String getTaskDefinitionKey() {
		return taskDefinitionKey;
	}
	public void setTaskDefinitionKey(String taskDefinitionKey) {
		this.taskDefinitionKey = taskDefinitionKey;
	}
	
	public List<FlowForm> getFlowFormList() {
		return flowFormList;
	}
	public void setFlowFormList(List<FlowForm> flowFormList) {
		this.flowFormList = flowFormList;
	}
	
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	
	public FlowForm getFlowForm() {
		return flowForm;
	}
	public void setFlowForm(FlowForm flowForm) {
		this.flowForm = flowForm;
	}
	@Override
	public String toString() {
		return "TaskInfo [taskId=" + taskId + ", instanceId=" + instanceId + ", fdId=" + fdId + ", fdKey=" + fdKey
				+ ", taskDefinitionKey=" + taskDefinitionKey + ", fdName=" + fdName + ", taskName=" + taskName
				+ ", taskDescription=" + taskDescription + ", taskOwner=" + taskOwner + ", startTime=" + startTime
				+ ", endTime=" + endTime + ", flowForm=" + flowForm + ", flowFormList=" + flowFormList + "]";
	}
	
}
